﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core.Enums;

namespace Core.Reader
{
    /// <summary> 数据读取器 </summary>
    public interface IDataReader : IDisposable
    {
        bool TryGetValue(string Name, out object Value);
        object this[string Name] { get; }
        object this[int Index] { get; }
        bool Read();
        IEnumerable<string> Fields { get; }
        int Count { get; }
        RWTypes ObjectType { get; }
    }
}